import request from '@/utils/request'

// 查询水质检测仪-历史数据列表
export function listWqHistoryData(query) {
  return request({
    url: '/swla2/wqHistoryData/list',
    method: 'get',
    params: query
  })
}

// 查询水质检测仪-历史数据详细
export function getWqHistoryData(ID) {
  return request({
    url: '/swla2/wqHistoryData/' + ID,
    method: 'get'
  })
}

// 新增水质检测仪-历史数据
export function addWqHistoryData(data) {
  return request({
    url: '/swla2/wqHistoryData',
    method: 'post',
    data: data
  })
}

// 修改水质检测仪-历史数据
export function updateWqHistoryData(data) {
  return request({
    url: '/swla2/wqHistoryData',
    method: 'put',
    data: data
  })
}

// 删除水质检测仪-历史数据
export function delWqHistoryData(ID) {
  return request({
    url: '/swla2/wqHistoryData/' + ID,
    method: 'delete'
  })
}
